33 . Monte Carlo Techniques
نویسنده
چکیده
Monte Carlo techniques are often the only practical way to evaluate difficult integrals or to sample random variables governed by complicated probability density functions. Here we describe an assortment of methods for sampling some commonly occurring probability density functions. Most Monte Carlo sampling or integration techniques assume a " random number generator, " which generates uniform statistically independent values on the half open interval [0, 1); for reviews see, e.g.,[1, 2]. Uniform random number generators are available in software libraries such as CERNLIB [3], CLHEP [4], and ROOT [5]. For example, in addition to a basic congruential generator TRandom (see below) ROOT provides three more sophisticated routines: TRandom1 implements the RANLUX generator [6] based on the method by Lüscher, and allows the user to select different quality levels, trading off quality with speed; TRandom2 is based on the maximally equidistributed combined Tausworthe generator by L'Ecuyer [7]; the TRandom3 generator implements the Mersenne twister algorithm of Matsumoto and Nishimura [8]. All of the algorithms produce a periodic sequence of numbers, and to obtain effectively random values, one must not use more than a small subset of a single period. The Mersenne twister algorithm has an extremely long period of 2 19937 − 1. The performance of the generators can be investigated with tests such as DIEHARD [9] or TestU01 [10]. Many commonly available congruential generators fail these tests and often have sequences (typically with periods less than 2 32), which can be easily exhausted on modern computers. A short period is a problem for the TRandom generator in ROOT, which, however, has the advantage that its state is stored in a single 32-bit word. The generators TRandom1, TRandom2, or TRandom3 have much longer periods, with TRandom3 being recommended by the ROOT authors as providing the best combination of speed and good random properties. If the desired probability density function is f (x) on the range −∞ < x < ∞, its cumulative distribution function (expressing the probability that x ≤ a) is given by Eq. (31.6). If a is chosen with probability density f (a), then the integrated probability up to point a, F (a), is itself a random variable which will occur with uniform probability density on [0, 1]. If x can take on any value, and ignoring the endpoints, we can then find a unique x chosen from the p.d.f. f (s) for a given u if we set …
منابع مشابه
An Efficiency Studying of an Ion Chamber Simulation Using Vriance Reduction Techniques with EGSnrc
Background: Radiotherapy is an important technique of cancer treatment using ionizing radiation. The determination of total dose in reference conditions is an important contribution to uncertainty that could achieve 2%. The source of this uncertainty comes from cavity theory that relates the in-air cavity dose and the dose to water. These correction factors are determined from Monte Carlo calcu...
متن کاملMass Attenuation Coefficients of Human Body Organs using MCNPX Monte Carlo Code
Introduction: Investigation of radiation interaction with living organs has always been a thrust area in medical and radiation physics. The investigated results are being used in medical physics for developing improved and sensitive techniques and minimizing radiation exposure. In this study, mass attenuation coefficients of different human organs and biological materials such as adipose, blood...
متن کاملInvestigation of Monte Carlo, Molecular Dynamic and Langevin dynamic simulation methods for Albumin- Methanol system and Albumin-Water system
Serum Albumin is the most aboundant protein in blood plasma. Its two major roles aremaintaining osmotic pressure and depositing and transporting compounds. In this paper,Albumin-methanol solution simulation is carried out by three techniques including MonteCarlo (MC), Molecular Dynamic (MD) and Langevin Dynamic (LD) simulations. Byinvestigating energy changes by time and temperature (between 27...
متن کاملPlanar and SPECT Monte Carlo acceleration using a variance reduction technique in I131 imaging
Background: Various variance reduction techniques such as forced detection (FD) have been implemented in Monte Carlo (MC) simulation of nuclear medicine in an effort to decrease the simulation time while keeping accuracy. However most of these techniques still result in very long MC simulation times for being implemented into routine use. Materials and Methods: Convolution-based force...
متن کاملAIAA 2001-4067 A Monte Carlo Dispersion Analysis of the X-33 Simulation Software
A Monte Carlo dispersion analysis has been completed on the X-33 software simulation. The simulation is based on a preliminary version of the software and is primarily used in an effort to define and refine how a Monte Carlo dispersion analysis would have been done on the final flight-ready version of the software. This report gives an overview of the processes used in the implementation of the...
متن کامل